﻿@*@inherits RazorEngine.Templating.TemplateBase<Gardener.CodeGeneration.Dtos.CodeGenNameModel>*@

using @(Model.AppName).Base;
using Furion.DatabaseAccessor;
using Furion.DynamicApiController;
using Microsoft.AspNetCore.Mvc;

namespace @(Model.AppName).@(Model.Module).Server;

[ApiDescriptionSettings(Module = "@(Model.Module)", Groups = new string[] { "@(Model.Module)" }, ForceWithRoutePrefix = true, KeepName = true, KeepVerb = true, LowercaseRoute = false, SplitCamelCase = false)]
public class @(Model.Module)BaseController<T, TDto>
    : BaseController<T, TDto, @(Model.CodeGen.PrimaryKeyType)>,
    I@(Model.Module)BaseController<TDto>,
    IDynamicApiController
    where T : class, IPrivateEntity, new()
    where TDto : class, new()
{
    public @(Model.Module)BaseController(IBaseService<T> service) : base(service)
    {
    }
}

